package com.hiyiin.IntelligentHospital.hosp.repository;

import com.hiyiin.IntelligentHospital.model.hosp.Department;
import com.hiyiin.IntelligentHospital.model.hosp.Hospital;
import com.hiyiin.IntelligentHospital.vo.hosp.DepartmentQueryVo;
import org.springframework.data.domain.Page;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentRepository extends MongoRepository<Department, String> {

    Department findDepartmentByHoscodeAndDepcode(String hoscode, String depcode);

}
